package com.ldc.security.model;

import org.springframework.security.core.GrantedAuthority;

/**
 * 功能说明
 *
 * @auther liudc
 * @since 2023/6/14
 */
public class SecurityGrantedAuthority implements GrantedAuthority {
    private final String authority;

    public SecurityGrantedAuthority(String authority) {
        this.authority = authority;
    }

    @Override
    public String getAuthority() {
        return authority;
    }
}
